﻿using System;
using System.Collections.Generic;

namespace Xodeuz.SP.Common
{
    public static class EnumerableExtensions
    {
        /// <summary>
        /// ForEach Extension
        /// </summary>
        public static void ForEach<T>(this IEnumerable<T> enumerable, Action<T> action)
        {
            foreach (T item in enumerable) 
                action(item);
        }
    }
}
